﻿using Customer.Domain;
using Customer.Domain.Dto;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace Customer.Read.API.Applcation.Command.ClientCommand
{
    public class SelectClientsCommand:IRequest<Page<ClientDto>>
    {
        /// <summary>
        /// 客户编号
        /// </summary>
        public string? ClientCode { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string? ClientName { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string? Landline { get; set; }
        /// <summary>
        /// 公司id
        /// </summary>
        public string? Office_Id { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        //public int? User_Id { get; set; }
        public int PageIndex { get; set; }
        public int PageSize { get; set; }
    }
}
